﻿using System;

namespace Alex.Library.Tasks
{
    /// <summary>
    /// 任务超时时间基数
    /// </summary>
    public class TaskTimeout
    {
        /// <summary>
        /// 永不过期
        /// </summary>
        public const double Forever = 0;

        /// <summary>
        /// 1秒
        /// </summary>
        public const double AnSecond = 1000;

        /// <summary>
        /// 1分钟
        /// </summary>
        public const double AnMinute = 60000;

        /// <summary>
        /// 1小时
        /// </summary>
        public const double AnHour = 3600000;

        /// <summary>
        /// 1天
        /// </summary>
        public const double AnDay = 86400000;
    }
}
